function page_nav(frm,num){
	if (num <= 0) {
		num = 1;
	}
	frm.pageIndex.value = num;
	frm.submit();
}
